package com.ztmg.water.service.water;

import com.ztmg.water.model.water.WaterTicket;
import com.ztmg.water.vo.water.WaterTicketListVO;
import com.ztmg.water.vo.water.WaterTicketVO;
import com.ztmg.water.dto.water.WaterTicketDTO;
import com.ztmg.water.dto.water.WaterTicketPageDTO;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface WaterTicketService{

		JsonResult create(WaterTicketDTO dto);
		JsonResult update(WaterTicketDTO dto);
		JsonResult<WaterTicketVO> selectById(Integer id);
		JsonResult<List<WaterTicketVO>> select(WaterTicketDTO dto);
		JsonResult<List<WaterTicketVO>> listAll(WaterTicketDTO dto);
		JsonResult<PageInfo<WaterTicketVO>> selectPage(WaterTicketPageDTO dto);
		JsonResult deleteById(Integer id);
		JsonResult delete(WaterTicketDTO dto);
		JsonResult<List<WaterTicketListVO>> selectAllListPage();
}